cmake_minimum_required(VERSION 3.19)
project(resource)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_C_COMPILER /usr/bin/gcc-11)
set(CMAKE_CXX_COMPILER /usr/bin/g++-11)
set(CMAKE_CXX_FLAGS -pthread)


include_directories(.)

add_executable(
        epoll.h
        epoll.cpp
        main.cpp
        socket.cpp
        socket.h
        loop.cpp loop.h
        async/asocket.cpp async/asocket.h async/aio.cpp async/aio.h http/connection.cpp http/connection.h http/parser.cpp http/parser.h http/server.cpp http/server.h view/view.cpp view/view.h http/request.cpp http/request.h http/response.cpp http/response.h http/Router.cpp http/Router.h async/function.h async/function.cpp resource/views.cpp resource/views.h)
